package example.hello;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mvel.MVEL;

public class HelloWorld {
	
	private static Log log = LogFactory.getLog(HelloWorld.class);
	
	public static void main(String[]args) {
		String expression = "varHelloWorld";

		Map vars = new HashMap();
		vars.put("varHelloWorld", "Hello World!");

		String helloworld = (String)MVEL.eval(expression, vars);

		log.info(helloworld);
	}
}
